import request from "@/utils/request";
// -------- 商务图表 --------

let BASE_ADDRESS = "/financial/cmBrokerage"

// 查询用户商务提现流水总额度 /financial/cmBrokerage/selectOrderByEchart
export const getCmBrokerageSelectOrderByEchartApi = (params) =>{
    return request({
        url: `${BASE_ADDRESS}/selectOrderByEchart`,
        method: "get",
        params
    })
}

// 统计商务和渠道成交 /financial/cmBrokerage/selectCountByEchart
export const getCmBrokerageSelectCountByEchartApi = (params) =>{
    return request({
        url: `${BASE_ADDRESS}/selectCountByEchart`,
        method: "get",
        params
    })
}